package com.jianyun.jyzs.model.imdoel;

import com.jianyun.jyzs.bean.NewSign2Bean;
import com.jianyun.jyzs.bean.NewSignRecodeBean;

import java.util.List;

/**
 * Created by yangshijun on 2018/6/13.
 */

public interface INewSignRecordModel {

    /**
     * 获取某天的打卡记录
     *
     * @param userId
     * @param enterpriseCode
     * @param date
     * @param onGetRecordListener
     */
    void getRecordeByDate(String enterpriseCode,String userId,  String date, OnGetRecordListener onGetRecordListener);

    /**
     * 获取记录监听
     */
    public interface OnGetRecordListener {
        void onGetSuccess(List<NewSign2Bean.SignDetail> signDetail);

        void onFailed(String msg);
    }
}
